<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>inweo.widgets.hsplitter test</title>
		<script src="../lib/mootools.js"></script>
		<script src="../inweo.js"></script>
		<script type="text/javascript">
			function main() {
				inweo.require("splitter");
				inweo.require("box");
				inweo.require("label");

				var page = new inweo.widgets.vbox(this);

				var splitter = new inweo.widgets.hsplitter();
				splitter.left.setStyle("min-width", "100px");
				splitter.right.setStyle("min-width", "100px");
				page.pack(splitter);

				var label1 = new inweo.widgets.label();
				label1.text("I am a label");
				splitter.pack(label1, "left");

				var label2 = new inweo.widgets.label();
				label2.text("I am a second label");
				splitter.pack(label2, "right");
			}
		</script>
	</head>
	<body>
	</body>
</html>